package com.canton.service;

import com.canton.dao.entity.AreaNode;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface AreaService {
    AreaNode findByName(@Param("name") String name);

    List<AreaNode> findAll();

    List<AreaNode> findByNameLike(@Param("likes") String likes);

}
